<?php $this->load->view('admin/admin_head.php');?>
<div id="main_head" class="main_head" style="height:35px;">
<table class="menu">
<tr><td>
<a href="<?php echo site_url('admin/adminindex')?>" class="current"><?php echo lang('func_adminindex')?></a><?php if (is_dir('./install')): ?><font color="red"><?php echo lang('installnotice')?></font><?php endif; ?>
</td></tr>
</table>
</div>
<div id="main_head" class="main_head" style="height:35px;">
<table class="menu">
<tr><td>
<a href="<?php echo site_url('admin/modifypwd')?>" class="current">修改密码</a>
</td></tr>
</table>
</div>
<form name="formview" id="formview" action="" method="post">
<input type="hidden" name="action" id="action" value="<?php echo site_url('admin/modifypwd')?>">
<div id="main" class="main" style="padding-top:35px;">
<table cellSpacing=0 width="100%" class="content_view">
<tr><td width="100">用户名</td><td>admin</td></tr>
<tr><td>原密码</td><td><input type="password" name="oldpassword" id="oldpassword" class="validate input-text" validtip="required" value=""></td></tr>
<tr><td>新密码</td><td><input type="password" name="password" id="password" class="validate input-text" validtip="required,minsize:6" value=""></td></tr>
<tr><td>确认密码</td><td><input type="password" name="password1" id="password1" class="validate input-text" validtip="equals:password" value=""></td></tr>
<tr><td></td><td><input type="button" class="btn" onclick="submitTo('<?php echo site_url('admin/modifypwd/save')?>','save')" value="保存"></td></tr>
</table>
</div>
</form>
<script type="text/javascript">           
$(document).ready(function(){
	$("#formview").validform();
});  
</script>

<?php $this->load->view('admin/admin_foot.php');?>